crypto/tls.clientHelloMsg.alpnProtocols (field)
19 uses
crypto/tls (current package)
handshake_client.go#L82: alpnProtocols: config.NextProtos,
handshake_client.go#L501: for _, alpn := range hello.alpnProtocols {
handshake_client.go#L903: if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol, false); err != nil {
handshake_client_tls13.go#L559: if err := checkALPN(hs.hello.alpnProtocols, encryptedExtensions.alpnProtocol, c.quic != nil); err != nil {
handshake_messages.go#L89: alpnProtocols []string
handshake_messages.go#L234: if len(m.alpnProtocols) > 0 {
handshake_messages.go#L242: for _, proto := range m.alpnProtocols {
handshake_messages.go#L583: m.alpnProtocols = append(m.alpnProtocols, string(proto))
handshake_messages.go#L705: alpnProtocols: slices.Clone(m.alpnProtocols),
handshake_server.go#L254: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, false)
handshake_server.go#L992: SupportedProtos: clientHello.alpnProtocols,
handshake_server_tls13.go#L297: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, c.quic != nil)
handshake_server_tls13.go#L678: len(ch.alpnProtocols) != len(ch1.alpnProtocols) {
handshake_server_tls13.go#L706: for i := range ch.alpnProtocols {
handshake_server_tls13.go#L707: if ch.alpnProtocols[i] != ch1.alpnProtocols[i] {